local songsang = fk.CreateSkill {

  name = "joy__songsang",

  tags = {  },

}



songsang:addEffect(fk.Death, {
  name = "joy__songsang",
  anim_type = "support",
  events = {fk.Death},
  can_trigger = function(self, event, target, player, data)
    return player:hasSkill(songsang.name) 
  end,
  on_use = function(self, event, target, player, data)
    local room = player.room
    room:changeMaxHp(player, 1)
    room:recover({
      who = player,
      num = 1,
      recoverBy = player,
      skillName = songsang.name,
    })
  end,
})

return songsang